home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Games Parlour•
/
•Tic Tac Toe•
/
Tic Tac Toe DA •••
/
Tic Tac Toe DA еее.rsrc
/
DRVR_35__TicTacToe.txt
< prev
Wrap
Text File
|
1987-02-28
|
80KB
|
1,483 lines
# no name present
# flags: 0x0400 (ENABLE_CONTROL)
# delay: 0
# event mask: 0x016A
# menu id: 0
# open label: 0024
# prime label: 003A
# control label: 004C
# status label: 005E
# close label: 0070
fn00000000:
00000000 4EFA 02E2 jmp [PC + 0x2E2 /* 000002E4 */]
fn00000004:
00000004 4EFA 0144 jmp [PC + 0x144 /* 0000014A */]
00000008 4EFA 0154 jmp [PC + 0x154 /* 0000015E */]
fn0000000C:
0000000C 4EFA 0164 jmp [PC + 0x164 /* 00000172 */]
00000010 4EFA 017C jmp [PC + 0x17C /* 0000018E */]
00000014 4EFA 01AE jmp [PC + 0x1AE /* 000001C4 */]
00000018 4EFA 01CA jmp [PC + 0x1CA /* 000001E4 */]
0000001C 4EFA 01E8 jmp [PC + 0x1E8 /* 00000206 */]
00000020 4EFA 0204 jmp [PC + 0x204 /* 00000226 */]
open:
00000024 4EBA 0060 jsr [PC + 0x60 /* 00000086 */]
00000028 4EBA 00BE jsr [PC + 0xBE /* 000000E8 */]
0000002C 4EBA 00F2 jsr [PC + 0xF2 /* 00000120 */]
00000030 7000 moveq.l D0, 0x00
00000032 4EBA 0060 jsr [PC + 0x60 /* 00000094 */]
00000036 4EFA 00AA jmp [PC + 0xAA /* 000000E2 */]
prime:
0000003A 4EBA 004A jsr [PC + 0x4A /* 00000086 */]
0000003E 4EBA 00E0 jsr [PC + 0xE0 /* 00000120 */]
00000042 7001 moveq.l D0, 0x01
00000044 4EBA 004E jsr [PC + 0x4E /* 00000094 */]
00000048 4EFA 005E jmp [PC + 0x5E /* 000000A8 */]
control:
0000004C 4EBA 0038 jsr [PC + 0x38 /* 00000086 */]
00000050 4EBA 00CE jsr [PC + 0xCE /* 00000120 */]
00000054 7002 moveq.l D0, 0x02
00000056 4EBA 003C jsr [PC + 0x3C /* 00000094 */]
0000005A 4EFA 004C jmp [PC + 0x4C /* 000000A8 */]
status:
0000005E 4EBA 0026 jsr [PC + 0x26 /* 00000086 */]
00000062 4EBA 00BC jsr [PC + 0xBC /* 00000120 */]
00000066 7003 moveq.l D0, 0x03
00000068 4EBA 002A jsr [PC + 0x2A /* 00000094 */]
0000006C 4EFA 003A jmp [PC + 0x3A /* 000000A8 */]
close:
00000070 4EBA 0014 jsr [PC + 0x14 /* 00000086 */]
00000074 4EBA 00AA jsr [PC + 0xAA /* 00000120 */]
00000078 7004 moveq.l D0, 0x04
0000007A 4EBA 0018 jsr [PC + 0x18 /* 00000094 */]
0000007E 4EBA 00B6 jsr [PC + 0xB6 /* 00000136 */]
00000082 4EFA 005E jmp [PC + 0x5E /* 000000E2 */]
fn00000086:
00000086 201F move.l D0, [A7]+
00000088 48E7 0038 movem.l -[A7], A2,A3,A4
0000008C 2448 movea.l A2, A0
0000008E 2649 movea.l A3, A1
00000090 2040 movea.l A0, D0
00000092 4ED0 jmp [A0]
fn00000094:
00000094 3F00 move.w -[A7], D0
00000096 2F0B move.l -[A7], A3
00000098 2F0A move.l -[A7], A2
0000009A 4EBA FF64 jsr [PC - 0x9C /* 00000000 */]
0000009E 4FEF 000A lea.l A7, [A7 + 0xA]
000000A2 3540 0010 move.w [A2 + 0x10], D0
000000A6 4E75 rts
label000000A8:
000000A8 0C40 0001 cmpi.w D0, 0x1
000000AC 6716 beq +0x18 /* 000000C4 */
000000AE 082A 0001 0006 btst.b [A2 + 0x6], 0x1
000000B4 6610 bne +0x12 /* 000000C6 */
000000B6 204A movea.l A0, A2
000000B8 224B movea.l A1, A3
000000BA 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000000BE 2F38 08FC move.l -[A7], [0x000008FC /* JIODone */]
000000C2 4E75 rts
label000000C4:
000000C4 7000 moveq.l D0, 0x00
label000000C6:
000000C6 082B 0006 0004 btst.b [A3 + 0x4], 0x6
000000CC 6614 bne +0x16 /* 000000E2 */
000000CE 206B 0000 movea.l A0, [A3 + 0x0]
000000D2 0890 0007 bclr.b [A0], 0x7
000000D6 206B FFFC movea.l A0, [A3 - 0x4]
000000DA D1F8 02A6 add.l A0, [0x000002A6 /* SysZone */]
000000DE 0890 0007 bclr.b [A0], 0x7
label000000E2:
000000E2 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000000E6 4E75 rts
fn000000E8:
000000E8 4AAB 0014 tst.l [A3 + 0x14]
000000EC 6630 bne +0x32 /* 0000011E */
000000EE 203C 0000 8000 move.l D0, 0x8000
000000F4 A040 syscall ResrvMem/ReserveMem
000000F6 302B 0018 move.w D0, [A3 + 0x18]
000000FA 4640 not.w D0
000000FC EB48 lsl D0.w, 5
000000FE 0040 C000 ori.w D0, 0xC000
00000102 50F8 0A5E st [0x00000A5E /* ResLoad */]
00000106 598F subq.l A7, 4
00000108 2F3C 4441 5441 move.l -[A7], 0x44415441 /* 'DATA' */
0000010E 3F00 move.w -[A7], D0
00000110 A9A0 syscall GetResource
00000112 201F move.l D0, [A7]+
00000114 2740 0014 move.l [A3 + 0x14], D0
00000118 6704 beq +0x6 /* 0000011E */
0000011A 2F00 move.l -[A7], D0
0000011C A992 syscall DetachResource
label0000011E:
0000011E 4E75 rts
fn00000120:
00000120 202B 0014 move.l D0, [A3 + 0x14]
00000124 670E beq +0x10 /* 00000134 */
00000126 2040 movea.l A0, D0
00000128 2010 move.l D0, [A0]
0000012A C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000012E 2840 movea.l A4, D0
00000130 08D0 0007 bset.b [A0], 0x7
label00000134:
00000134 4E75 rts
fn00000136:
00000136 3F00 move.w -[A7], D0
00000138 202B 0014 move.l D0, [A3 + 0x14]
0000013C 6708 beq +0xA /* 00000146 */
0000013E 42AB 0014 clr.l [A3 + 0x14]
00000142 2040 movea.l A0, D0
00000144 A023 syscall DisposHandle/DisposeHandle
label00000146:
00000146 301F move.w D0, [A7]+
00000148 4E75 rts
label0000014A:
0000014A 205F movea.l A0, [A7]+
0000014C 3218 move.w D1, [A0]+
label0000014E:
0000014E 3418 move.w D2, [A0]+
00000150 B058 cmp.w D0, [A0]+
00000152 57C9 FFFA dbeq D1, -0x8 /* 0000014E */
00000156 4A42 tst.w D2
label00000158:
00000158 67FE beq -0x0 /* 00000158 */
0000015A 4EF0 20FC jmp [A0 + D2.w - 0x4]
label0000015E:
0000015E 205F movea.l A0, [A7]+
00000160 3218 move.w D1, [A0]+
label00000162:
00000162 3418 move.w D2, [A0]+
00000164 B098 cmp.l D0, [A0]+
00000166 57C9 FFFA dbeq D1, -0x8 /* 00000162 */
0000016A 4A42 tst.w D2
label0000016C:
0000016C 67FE beq -0x0 /* 0000016C */
0000016E 4EF0 20FA jmp [A0 + D2.w - 0x6]
label00000172:
00000172 205F movea.l A0, [A7]+
00000174 3218 move.w D1, [A0]+
00000176 3418 move.w D2, [A0]+
00000178 B042 cmp.w D0, D2
0000017A 6E0A bgt +0xC /* 00000186 */
0000017C 9041 sub.w D0, D1
0000017E 6D06 blt +0x8 /* 00000186 */
00000180 D040 add.w D0, D0
00000182 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000186:
00000186 3010 move.w D0, [A0]
label00000188:
00000188 67FE beq -0x0 /* 00000188 */
0000018A 4EF0 0000 jmp [A0 + D0.w]
label0000018E:
0000018E 202F 0004 move.l D0, [A7 + 0x4]
00000192 2F41 0004 move.l [A7 + 0x4], D1
00000196 222F 0008 move.l D1, [A7 + 0x8]
0000019A 2F5F 0004 move.l [A7 + 0x4], [A7]+
0000019E 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
000001A2 2400 move.l D2, D0
000001A4 2601 move.l D3, D1
000001A6 4842 swap.w D2
000001A8 C4C3 mulu.w D2, D3
000001AA 2800 move.l D4, D0
000001AC 2A01 move.l D5, D1
000001AE 4845 swap.w D5
000001B0 C8C5 mulu.w D4, D5
000001B2 D444 add.w D2, D4
000001B4 4842 swap.w D2
000001B6 4242 clr.w D2
000001B8 C0C1 mulu.w D0, D1
000001BA D082 add.l D0, D2
000001BC 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000001C0 221F move.l D1, [A7]+
000001C2 4E75 rts
label000001C4:
000001C4 202F 0004 move.l D0, [A7 + 0x4]
000001C8 2F41 0004 move.l [A7 + 0x4], D1
000001CC 222F 0008 move.l D1, [A7 + 0x8]
000001D0 2F5F 0004 move.l [A7 + 0x4], [A7]+
000001D4 48E7 3100 movem.l -[A7], D2,D3,D7
000001D8 4EBA 009C jsr [PC + 0x9C /* 00000276 */]
000001DC 4CDF 008C movem.l D2,D3,D7, [A7]+
000001E0 221F move.l D1, [A7]+
000001E2 4E75 rts
label000001E4:
000001E4 202F 0004 move.l D0, [A7 + 0x4]
000001E8 2F41 0004 move.l [A7 + 0x4], D1
000001EC 222F 0008 move.l D1, [A7 + 0x8]
000001F0 2F5F 0004 move.l [A7 + 0x4], [A7]+
000001F4 48E7 3100 movem.l -[A7], D2,D3,D7
000001F8 4EBA 007C jsr [PC + 0x7C /* 00000276 */]
000001FC 2001 move.l D0, D1
000001FE 4CDF 008C movem.l D2,D3,D7, [A7]+
00000202 221F move.l D1, [A7]+
00000204 4E75 rts
label00000206:
00000206 202F 0004 move.l D0, [A7 + 0x4]
0000020A 2F41 0004 move.l [A7 + 0x4], D1
0000020E 222F 0008 move.l D1, [A7 + 0x8]
00000212 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000216 48E7 3100 movem.l -[A7], D2,D3,D7
0000021A 4EBA 002C jsr [PC + 0x2C /* 00000248 */]
0000021E 4CDF 008C movem.l D2,D3,D7, [A7]+
00000222 221F move.l D1, [A7]+
00000224 4E75 rts
label00000226:
00000226 202F 0004 move.l D0, [A7 + 0x4]
0000022A 2F41 0004 move.l [A7 + 0x4], D1
0000022E 222F 0008 move.l D1, [A7 + 0x8]
00000232 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000236 48E7 3100 movem.l -[A7], D2,D3,D7
0000023A 4EBA 000C jsr [PC + 0xC /* 00000248 */]
0000023E 2001 move.l D0, D1
00000240 4CDF 008C movem.l D2,D3,D7, [A7]+
00000244 221F move.l D1, [A7]+
00000246 4E75 rts
fn00000248:
00000248 4A80 tst.l D0
0000024A 6A1C bpl +0x1E /* 00000268 */
0000024C 4A81 tst.l D1
0000024E 6A0C bpl +0xE /* 0000025C */
00000250 4480 neg.l D0
00000252 4481 neg.l D1
00000254 4EBA 0020 jsr [PC + 0x20 /* 00000276 */]
00000258 4481 neg.l D1
0000025A 4E75 rts
label0000025C:
0000025C 4480 neg.l D0
0000025E 4EBA 0016 jsr [PC + 0x16 /* 00000276 */]
00000262 4480 neg.l D0
00000264 4481 neg.l D1
00000266 4E75 rts
label00000268:
00000268 4A81 tst.l D1
0000026A 6A0A bpl +0xC /* 00000276 */
0000026C 4481 neg.l D1
0000026E 4EBA 0006 jsr [PC + 0x6 /* 00000276 */]
00000272 4480 neg.l D0
00000274 4E75 rts
fn00000276:
00000276 2E3C 0000 FFFF move.l D7, 0xFFFF
0000027C B280 cmp.l D1, D0
0000027E 6306 bls +0x8 /* 00000286 */
00000280 2200 move.l D1, D0
00000282 7000 moveq.l D0, 0x00
00000284 4E75 rts
label00000286:
00000286 B087 cmp.l D0, D7
00000288 620C bhi +0xE /* 00000296 */
0000028A 80C1 divu.w D0, D1
0000028C 4840 swap.w D0
0000028E 3200 move.w D1, D0
00000290 4240 clr.w D0
00000292 4840 swap.w D0
00000294 4E75 rts
label00000296:
00000296 B287 cmp.l D1, D7
00000298 621A bhi +0x1C /* 000002B4 */
0000029A 2E00 move.l D7, D0
0000029C 4240 clr.w D0
0000029E 4840 swap.w D0
000002A0 80C1 divu.w D0, D1
000002A2 4840 swap.w D0
000002A4 4847 swap.w D7
000002A6 3E00 move.w D7, D0
000002A8 4847 swap.w D7
000002AA 8EC1 divu.w D7, D1
000002AC 3007 move.w D0, D7
000002AE 4847 swap.w D7
000002B0 3207 move.w D1, D7
000002B2 4E75 rts
label000002B4:
000002B4 2400 move.l D2, D0
000002B6 2601 move.l D3, D1
label000002B8:
000002B8 E288 lsr D0, 1
000002BA E289 lsr D1, 1
000002BC B287 cmp.l D1, D7
000002BE 62F8 bhi -0x6 /* 000002B8 */
000002C0 80C1 divu.w D0, D1
000002C2 C087 and.l D0, D7
label000002C4:
000002C4 3203 move.w D1, D3
000002C6 C2C0 mulu.w D1, D0
000002C8 2E03 move.l D7, D3
000002CA 4847 swap.w D7
000002CC CEC0 mulu.w D7, D0
000002CE 4847 swap.w D7
000002D0 D287 add.l D1, D7
000002D2 6508 bcs +0xA /* 000002DC */
000002D4 9282 sub.l D1, D2
000002D6 6204 bhi +0x6 /* 000002DC */
000002D8 4481 neg.l D1
000002DA 4E75 rts
label000002DC:
000002DC 5340 subq.w D0, 1
000002DE 60E4 bra -0x1A /* 000002C4 */
000002E0 0000 0000 ori.b D0, 0x0
label000002E4:
000002E4 4E56 FFFC link A6, -0x0004
000002E8 206E 000C movea.l A0, [A6 + 0xC]
000002EC 4AA8 0014 tst.l [A0 + 0x14]
000002F0 6600 0026 bne +0x28 /* 00000318 */
000002F4 4A6E 0010 tst.w [A6 + 0x10]
000002F8 6600 0018 bne +0x1A /* 00000312 */
000002FC 3F3C 0003 move.w -[A7], 0x3
00000300 A9C8 syscall SysBeep
00000302 558F subq.l A7, 2
00000304 206E 000C movea.l A0, [A6 + 0xC]
00000308 3F28 0018 move.w -[A7], [A0 + 0x18]
0000030C 4EBA 02CE jsr [PC + 0x2CE /* 000005DC */]
00000310 301F move.w D0, [A7]+
label00000312:
00000312 7000 moveq.l D0, 0x00
00000314 6000 0052 bra +0x54 /* 00000368 */
label00000318:
00000318 486E FFFC pea.l [A6 - 0x4]
0000031C A874 syscall GetPort
0000031E 302E 0010 move.w D0, [A6 + 0x10]
00000322 4EBA FCE8 jsr [PC - 0x318 /* 0000000C */]
00000326 0000 0004 ori.b D0, 0x4
0000032A 0036 000A 0032 ori.b [A6 + D0.w + 0x32], 0xA /* '\n' */
00000330 0022 002E ori.b -[A2], 0x2E /* '.' */
00000334 0010 2F2E ori.b [A0], 0x2E /* '.' */
00000338 000C 4EBA ori.b A4, 0xBA
0000033C 0038 588F 6000 ori.b [0x00006000], 0x8F
00000342 001E 2F2E ori.b [A6]+, 0x2E /* '.' */
00000346 000C 4EBA ori.b A4, 0xBA
0000034A 00A4 588F 6000 ori.l -[A4], 0x588F6000
00000350 0010 2F2E ori.b [A0], 0x2E /* '.' */
00000354 000C 2F2E ori.b A4, 0x2E /* '.' */
00000358 0008 4EBA ori.b A0, 0xBA
0000035C 00BA 508F 2F2E FFFC ori.l [PC - 0x4 /* 0000035A, value 0x4EBA00BA */], 0x508F2F2E
00000364 A873 syscall SetPort
00000366 7000 moveq.l D0, 0x00
label00000368:
00000368 4E5E unlink A6
0000036A 4E75 rts
0000036C 4D41 chk.w D6, D1
0000036E 494E chk.w D4, A6
00000370 2020 move.l D0, -[A0]
00000372 2020 move.l D0, -[A0]
00000374 4E56 FFF8 link A6, -0x0008
00000378 206E 0008 movea.l A0, [A6 + 0x8]
0000037C 4AA8 001E tst.l [A0 + 0x1E]
00000380 6600 0060 bne +0x62 /* 000003E2 */
00000384 486E FFF8 pea.l [A6 - 0x8]
00000388 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
0000038C 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000390 3F3C 00C8 move.w -[A7], 0xC8
00000394 3F3C 00C8 move.w -[A7], 0xC8
00000398 A8A7 syscall SetRect
0000039A 598F subq.l A7, 4
0000039C 42A7 clr.l -[A7]
0000039E 486E FFF8 pea.l [A6 - 0x8]
000003A2 486C 0272 pea.l [A4 + 0x272]
000003A6 4267 clr.w -[A7]
000003A8 3F3C 0010 move.w -[A7], 0x10
000003AC 4878 FFFF push.l 0xFFFF
000003B0 1F3C 0001 move.b -[A7], 0x1
000003B4 42A7 clr.l -[A7]
000003B6 A913 syscall NewWindow
000003B8 201F move.l D0, [A7]+
000003BA 206E 0008 movea.l A0, [A6 + 0x8]
000003BE 2140 001E move.l [A0 + 0x1E], D0
000003C2 206E 0008 movea.l A0, [A6 + 0x8]
000003C6 226E 0008 movea.l A1, [A6 + 0x8]
000003CA 2068 001E movea.l A0, [A0 + 0x1E]
000003CE 3169 0018 006C move.w [A0 + 0x6C], [A1 + 0x18]
000003D4 206E 0008 movea.l A0, [A6 + 0x8]
000003D8 2F28 001E move.l -[A7], [A0 + 0x1E]
000003DC A873 syscall SetPort
000003DE 4EBA 02FC jsr [PC + 0x2FC /* 000006DC */]
label000003E2:
000003E2 4E5E unlink A6
000003E4 4E75 rts
000003E6 444F neg.w A7
000003E8 4F50 chk.w D7, [A0]
000003EA 454E chk.w D2, A6
000003EC 2020 move.l D0, -[A0]
000003EE 4E56 FFFC link A6, -0x0004
000003F2 206E 0008 movea.l A0, [A6 + 0x8]
000003F6 2D68 001E FFFC move.l [A6 - 0x4], [A0 + 0x1E]
000003FC 206E 0008 movea.l A0, [A6 + 0x8]
00000400 42A8 001E clr.l [A0 + 0x1E]
00000404 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000408 A914 syscall DisposeWindow
0000040A 4E5E unlink A6
0000040C 4E75 rts
0000040E 444F neg.w A7
00000410 434C chk.w D1, A4
00000412 4F53 chk.w D7, [A3]
00000414 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
00000416 4E56 0000 link A6, 0
0000041A 206E 000C movea.l A0, [A6 + 0xC]
0000041E 2F28 001E move.l -[A7], [A0 + 0x1E]
00000422 A873 syscall SetPort
00000424 206E 0008 movea.l A0, [A6 + 0x8]
00000428 3028 001A move.w D0, [A0 + 0x1A]
0000042C 4EBA FBD6 jsr [PC - 0x42A /* 00000004 */]
00000430 0003 000E ori.b D3, 0xE
00000434 0042 0012 ori.w D2, 0x12
00000438 0040 0020 ori.w D0, 0x20 /* ' ' */
0000043C 0049 0020 ori.w A1, 0x20 /* ' ' */
00000440 4EBA 00A0 jsr [PC + 0xA0 /* 000004E2 */]
00000444 6000 0018 bra +0x1A /* 0000045E */
00000448 2F2E 000C move.l -[A7], [A6 + 0xC]
0000044C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000450 4EBA 0018 jsr [PC + 0x18 /* 0000046A */]
00000454 508F addq.l A7, 8
00000456 6000 0006 bra +0x8 /* 0000045E */
0000045A 4EBA 02A4 jsr [PC + 0x2A4 /* 00000700 */]
label0000045E:
0000045E 4E5E unlink A6
00000460 4E75 rts
00000462 444F neg.w A7
00000464 434F chk.w D1, A7
00000466 4E54 524F link A4, -0xFFFFADB1
fn0000046A:
0000046A 4E56 FFF8 link A6, -0x0008
0000046E 206E 0008 movea.l A0, [A6 + 0x8]
00000472 41E8 001C lea.l A0, [A0 + 0x1C]
00000476 2D48 FFFC move.l [A6 - 0x4], A0
0000047A 206E FFFC movea.l A0, [A6 - 0x4]
0000047E 2D50 FFF8 move.l [A6 - 0x8], [A0]
00000482 206E FFF8 movea.l A0, [A6 - 0x8]
00000486 3010 move.w D0, [A0]
00000488 4EBA FB82 jsr [PC - 0x47E /* 0000000C */]
0000048C 0001 0006 ori.b D1, 0x6
00000490 0046 0028 ori.w D6, 0x28 /* '(' */
00000494 0042 0036 ori.w D2, 0x36 /* '6' */
00000498 003E 0032 ori.b <<invalid special address>>, 0x32 /* '2' */
0000049C 0002 206E ori.b D2, 0x6E /* 'n' */
000004A0 FFF8 .invalid <<F/7/7>>
000004A2 2F28 0002 move.l -[A7], [A0 + 0x2]
000004A6 A922 syscall BeginUpdate
000004A8 4EBA 03A4 jsr [PC + 0x3A4 /* 0000084E */]
000004AC 206E FFF8 movea.l A0, [A6 - 0x8]
000004B0 2F28 0002 move.l -[A7], [A0 + 0x2]
000004B4 A923 syscall EndUpdate
000004B6 6000 001E bra +0x20 /* 000004D6 */
000004BA 206E FFF8 movea.l A0, [A6 - 0x8]
000004BE 2F28 000A move.l -[A7], [A0 + 0xA]
000004C2 4EBA 0648 jsr [PC + 0x648 /* 00000B0C */]
000004C6 588F addq.l A7, 4
000004C8 6000 000C bra +0xE /* 000004D6 */
000004CC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000004D0 4EBA 0086 jsr [PC + 0x86 /* 00000558 */]
000004D4 588F addq.l A7, 4
label000004D6:
000004D6 4E5E unlink A6
000004D8 4E75 rts
000004DA 444F neg.w A7
000004DC 4556 chk.w D2, [A6]
000004DE 454E chk.w D2, A6
000004E0 5420 addq.b -[A0], 2
fn000004E2:
000004E2 4E56 FFFC link A6, -0x0004
000004E6 486E FFFC pea.l [A6 - 0x4]
000004EA A972 syscall GetMouse
000004EC 486C 00F8 pea.l [A4 + 0xF8]
000004F0 3F3C 0004 move.w -[A7], 0x4
000004F4 3F3C 0004 move.w -[A7], 0x4
000004F8 A8A9 syscall InsetRect
000004FA 558F subq.l A7, 2
000004FC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000500 486C 00F8 pea.l [A4 + 0xF8]
00000504 A8AD syscall PtInRect
00000506 101F move.b D0, [A7]+
00000508 4A00 tst.b D0
0000050A 6700 0030 beq +0x32 /* 0000053C */
0000050E 4A6C 00D4 tst.w [A4 + 0xD4]
00000512 6600 0028 bne +0x2A /* 0000053C */
00000516 4A6C 00D6 tst.w [A4 + 0xD6]
0000051A 6600 0020 bne +0x22 /* 0000053C */
0000051E 0C2C 0058 00D3 cmpi.b [A4 + 0xD3], 0x58 /* 'X' */
00000524 6600 000C bne +0xE /* 00000532 */
00000528 486C 01E4 pea.l [A4 + 0x1E4]
0000052C A851 syscall SetCursor
0000052E 6000 000E bra +0x10 /* 0000053E */
label00000532:
00000532 486C 0228 pea.l [A4 + 0x228]
00000536 A851 syscall SetCursor
00000538 6000 0004 bra +0x6 /* 0000053E */
label0000053C:
0000053C A850 syscall InitCursor
label0000053E:
0000053E 486C 00F8 pea.l [A4 + 0xF8]
00000542 3F3C FFFC move.w -[A7], 0xFFFC
00000546 3F3C FFFC move.w -[A7], 0xFFFC
0000054A A8A9 syscall InsetRect
0000054C 4E5E unlink A6
0000054E 4E75 rts
00000550 444F neg.w A7
00000552 4355 chk.w D1, [A5]
00000554 5253 addq.w [A3], 1
00000556 4F52 chk.w D7, [A2]
fn00000558:
00000558 4E56 FFFE link A6, -0x0002
0000055C 206E 0008 movea.l A0, [A6 + 0x8]
00000560 203C 0000 00FF move.l D0, 0xFF
00000566 C0A8 0002 and.l D0, [A0 + 0x2]
0000056A 1D40 FFFF move.b [A6 - 0x1], D0
0000056E 206E 0008 movea.l A0, [A6 + 0x8]
00000572 303C 0100 move.w D0, 0x100
00000576 C068 000E and.w D0, [A0 + 0xE]
0000057A 4A40 tst.w D0
0000057C 6700 0014 beq +0x16 /* 00000592 */
00000580 598F subq.l A7, 4
00000582 102E FFFF move.b D0, [A6 - 0x1]
00000586 4880 ext.w D0
00000588 3F00 move.w -[A7], D0
0000058A A93E syscall MenuKey
0000058C 201F move.l D0, [A7]+
0000058E 6000 0010 bra +0x12 /* 000005A0 */
label00000592:
00000592 0C2E 003F FFFF cmpi.b [A6 - 0x1], 0x3F /* '?' */
00000598 6600 0006 bne +0x8 /* 000005A0 */
0000059C 4EBA 063C jsr [PC + 0x63C /* 00000BDA */]
label000005A0:
000005A0 4E5E unlink A6
000005A2 4E75 rts
000005A4 444F neg.w A7
000005A6 4B45 chk.w D5, D5
000005A8 5948 subq.w A0, 4
000005AA 4954 chk.w D4, [A4]
000005AC 206F 0008 movea.l A0, [A7 + 0x8]
000005B0 7018 moveq.l D0, 0x18
label000005B2:
000005B2 4267 clr.w -[A7]
000005B4 51C8 FFFC dbf D0, -0x6 /* 000005B2 */
000005B8 2F48 0012 move.l [A7 + 0x12], A0
000005BC 422F 001B clr.b [A7 + 0x1B]
000005C0 204F movea.l A0, A7
000005C2 A000 syscall Open/PBHOpen/HOpen
000005C4 322F 0018 move.w D1, [A7 + 0x18]
000005C8 DEFC 0032 add.w A7, 0x32 /* '2' */
000005CC 206F 0004 movea.l A0, [A7 + 0x4]
000005D0 3081 move.w [A0], D1
000005D2 3F40 000C move.w [A7 + 0xC], D0
000005D6 205F movea.l A0, [A7]+
000005D8 504F addq.w A7, 8
000005DA 4ED0 jmp [A0]
fn000005DC:
000005DC 302F 0004 move.w D0, [A7 + 0x4]
000005E0 9EFC 001E sub.w A7, 0x1E
000005E4 3F40 0018 move.w [A7 + 0x18], D0
000005E8 204F movea.l A0, A7
000005EA A001 syscall Close
000005EC DEFC 001E add.w A7, 0x1E
000005F0 3F40 0006 move.w [A7 + 0x6], D0
000005F4 205F movea.l A0, [A7]+
000005F6 544F addq.w A7, 2
000005F8 4ED0 jmp [A0]
000005FA 4E56 FFCE link A6, -0x0032
000005FE 41EE FFCE lea.l A0, [A6 - 0x32]
00000602 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000608 317C 0001 001A move.w [A0 + 0x1A], 0x1
0000060E A005 syscall Status
00000610 2D68 001C 000A move.l [A6 + 0xA], [A0 + 0x1C]
00000616 4E5E unlink A6
00000618 205F movea.l A0, [A7]+
0000061A 544F addq.w A7, 2
0000061C 4ED0 jmp [A0]
0000061E 4E56 FFCE link A6, -0x0032
00000622 41EE FFCE lea.l A0, [A6 - 0x32]
00000626 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
0000062C 316E 000C 001A move.w [A0 + 0x1A], [A6 + 0xC]
00000632 4AAE 0008 tst.l [A6 + 0x8]
00000636 6710 beq +0x12 /* 00000648 */
00000638 43E8 001C lea.l A1, [A0 + 0x1C]
0000063C 206E 0008 movea.l A0, [A6 + 0x8]
00000640 7016 moveq.l D0, 0x16
00000642 A02E syscall BlockMove/BlockMoveData
00000644 41EE FFCE lea.l A0, [A6 - 0x32]
label00000648:
00000648 A004 syscall Control
0000064A 3D40 0010 move.w [A6 + 0x10], D0
0000064E 4E5E unlink A6
00000650 225F movea.l A1, [A7]+
00000652 508F addq.l A7, 8
00000654 4ED1 jmp [A1]
00000656 4E56 FFCE link A6, -0x0032
0000065A 41EE FFCE lea.l A0, [A6 - 0x32]
0000065E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000664 316E 000C 001A move.w [A0 + 0x1A], [A6 + 0xC]
0000066A A005 syscall Status
0000066C 3D40 0010 move.w [A6 + 0x10], D0
00000670 41EE FFEA lea.l A0, [A6 - 0x16]
00000674 226E 0008 movea.l A1, [A6 + 0x8]
00000678 7016 moveq.l D0, 0x16
0000067A A02E syscall BlockMove/BlockMoveData
0000067C 4E5E unlink A6
0000067E 225F movea.l A1, [A7]+
00000680 508F addq.l A7, 8
00000682 4ED1 jmp [A1]
00000684 4E56 FFE0 link A6, -0x0020
00000688 41EE FFE0 lea.l A0, [A6 - 0x20]
0000068C 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000692 A006 syscall KillIO
00000694 3D40 000A move.w [A6 + 0xA], D0
00000698 4E5E unlink A6
0000069A 225F movea.l A1, [A7]+
0000069C 548F addq.l A7, 2
0000069E 4ED1 jmp [A1]
000006A0 225F movea.l A1, [A7]+
000006A2 301F move.w D0, [A7]+
000006A4 2F09 move.l -[A7], A1
000006A6 A146 syscall GetTrapAddress, flags=1
000006A8 2F48 0004 move.l [A7 + 0x4], A0
000006AC 4E75 rts
000006AE 225F movea.l A1, [A7]+
000006B0 301F move.w D0, [A7]+
000006B2 205F movea.l A0, [A7]+
000006B4 2F09 move.l -[A7], A1
000006B6 A047 syscall SetTrapAddress
000006B8 4E75 rts
fn000006BA:
000006BA 201F move.l D0, [A7]+
000006BC 225F movea.l A1, [A7]+
000006BE 205F movea.l A0, [A7]+
000006C0 2F00 move.l -[A7], D0
000006C2 A03B syscall Delay
000006C4 2280 move.l [A1], D0
000006C6 4E75 rts
000006C8 205F movea.l A0, [A7]+
000006CA 301F move.w D0, [A7]+
000006CC A9C9 syscall SysError
000006CE A9FF syscall Debugger
000006D0 41EF 0004 lea.l A0, [A7 + 0x4]
000006D4 A9F2 syscall Launch/LaunchApplication
000006D6 41EF 0004 lea.l A0, [A7 + 0x4]
000006DA A9F3 syscall Chain
fn000006DC:
000006DC 4E56 0000 link A6, 0
000006E0 426C 00D4 clr.w [A4 + 0xD4]
000006E4 426C 00D6 clr.w [A4 + 0xD6]
000006E8 426C 00CE clr.w [A4 + 0xCE]
000006EC 426C 00D0 clr.w [A4 + 0xD0]
000006F0 4EBA 0026 jsr [PC + 0x26 /* 00000718 */]
000006F4 4E5E unlink A6
000006F6 4E75 rts
000006F8 5345 subq.w D5, 1
000006FA 5455 addq.w [A5], 2
000006FC 5020 addq.b -[A0], 8
000006FE 2020 move.l D0, -[A0]
fn00000700:
00000700 4E56 0000 link A6, 0
00000704 4EBA 00C2 jsr [PC + 0xC2 /* 000007C8 */]
00000708 4EBA FFD2 jsr [PC - 0x2E /* 000006DC */]
0000070C 4E5E unlink A6
0000070E 4E75 rts
00000710 4E45 trap 5
00000712 5747 subq.w D7, 3
00000714 414D chk.w D0, A5
00000716 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
fn00000718:
00000718 4E56 0000 link A6, 0
0000071C 21F8 016A 0156 move.l [0x00000156 /* RndSeed */], [0x0000016A /* Ticks */]
00000722 558F subq.l A7, 2
00000724 A861 syscall Random
00000726 301F move.w D0, [A7]+
00000728 0800 0000 btst.b D0, 0x0
0000072C 6700 0012 beq +0x14 /* 00000740 */
00000730 7058 moveq.l D0, 0x58
00000732 1940 00D3 move.b [A4 + 0xD3], D0
00000736 704F moveq.l D0, 0x4F
00000738 1940 00D2 move.b [A4 + 0xD2], D0
0000073C 6000 0012 bra +0x14 /* 00000750 */
label00000740:
00000740 7058 moveq.l D0, 0x58
00000742 1940 00D2 move.b [A4 + 0xD2], D0
00000746 704F moveq.l D0, 0x4F
00000748 1940 00D3 move.b [A4 + 0xD3], D0
0000074C 4EBA 0818 jsr [PC + 0x818 /* 00000F66 */]
label00000750:
00000750 4E5E unlink A6
00000752 4E75 rts
00000754 5049 addq.w A1, 8
00000756 434B chk.w D1, A3
00000758 4649 not.w A1
0000075A 5253 addq.w [A3], 1
fn0000075C:
0000075C 4E56 0000 link A6, 0
00000760 4267 clr.w -[A7]
00000762 A887 syscall TextFont
00000764 4267 clr.w -[A7]
00000766 A888 syscall TextFace
00000768 3F3C 0002 move.w -[A7], 0x2
0000076C A889 syscall TextMode
0000076E 3F3C 0018 move.w -[A7], 0x18
00000772 A88A syscall TextSize
00000774 302E 0008 move.w D0, [A6 + 0x8]
00000778 48C0 ext.l D0
0000077A D080 add.l D0, D0
0000077C 41EC 011A lea.l A0, [A4 + 0x11A]
00000780 D1C0 add.l A0, D0
00000782 302E 0008 move.w D0, [A6 + 0x8]
00000786 48C0 ext.l D0
00000788 D080 add.l D0, D0
0000078A 43EC 012C lea.l A1, [A4 + 0x12C]
0000078E D3C0 add.l A1, D0
00000790 3F10 move.w -[A7], [A0]
00000792 3F11 move.w -[A7], [A1]
00000794 A893 syscall MoveTo
00000796 558F subq.l A7, 2
00000798 102E 000B move.b D0, [A6 + 0xB]
0000079C 4880 ext.w D0
0000079E 3F00 move.w -[A7], D0
000007A0 A88D syscall CharWidth
000007A2 301F move.w D0, [A7]+
000007A4 48C0 ext.l D0
000007A6 81FC 0002 divs.w D0, 0x2
000007AA 4440 neg.w D0
000007AC 3F00 move.w -[A7], D0
000007AE 4267 clr.w -[A7]
000007B0 A894 syscall Move
000007B2 102E 000B move.b D0, [A6 + 0xB]
000007B6 4880 ext.w D0
000007B8 3F00 move.w -[A7], D0
000007BA A883 syscall DrawChar
000007BC 4E5E unlink A6
000007BE 4E75 rts
000007C0 4452 neg.w [A2]
000007C2 4157 chk.w D0, [A7]
000007C4 5049 addq.w A1, 8
000007C6 4543 chk.w D2, D3
fn000007C8:
000007C8 4E56 0000 link A6, 0
000007CC 486C 00F8 pea.l [A4 + 0xF8]
000007D0 3F3C 0001 move.w -[A7], 0x1
000007D4 3F3C 0001 move.w -[A7], 0x1
000007D8 A8A9 syscall InsetRect
000007DA 486C 00F8 pea.l [A4 + 0xF8]
000007DE 486C 00C2 pea.l [A4 + 0xC2]
000007E2 A8A5 syscall FillRect
000007E4 486C 00F8 pea.l [A4 + 0xF8]
000007E8 3F3C FFFF move.w -[A7], 0xFFFF
000007EC 3F3C FFFF move.w -[A7], 0xFFFF
000007F0 A8A9 syscall InsetRect
000007F2 3F3C 0023 move.w -[A7], 0x23 /* '#' */
000007F6 3F3C 0005 move.w -[A7], 0x5
000007FA A893 syscall MoveTo
000007FC 3F3C 0023 move.w -[A7], 0x23 /* '#' */
00000800 3F3C 005F move.w -[A7], 0x5F /* '_' */
00000804 A891 syscall LineTo
00000806 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
0000080A 3F3C 0005 move.w -[A7], 0x5
0000080E A893 syscall MoveTo
00000810 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
00000814 3F3C 005F move.w -[A7], 0x5F /* '_' */
00000818 A891 syscall LineTo
0000081A 3F3C 0005 move.w -[A7], 0x5
0000081E 3F3C 0023 move.w -[A7], 0x23 /* '#' */
00000822 A893 syscall MoveTo
00000824 3F3C 005F move.w -[A7], 0x5F /* '_' */
00000828 3F3C 0023 move.w -[A7], 0x23 /* '#' */
0000082C A891 syscall LineTo
0000082E 3F3C 0005 move.w -[A7], 0x5
00000832 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
00000836 A893 syscall MoveTo
00000838 3F3C 005F move.w -[A7], 0x5F /* '_' */
0000083C 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
00000840 A891 syscall LineTo
00000842 4E5E unlink A6
00000844 4E75 rts
00000846 4452 neg.w [A2]
00000848 4157 chk.w D0, [A7]
0000084A 4841 swap.w D1
0000084C 5443 addq.w D3, 2
fn0000084E:
0000084E 4E56 FFF6 link A6, -0x000A
00000852 A89E syscall PenNormal
00000854 486C 00D8 pea.l [A4 + 0xD8]
00000858 486C 0100 pea.l [A4 + 0x100]
0000085C A8A5 syscall FillRect
0000085E 486C 00E0 pea.l [A4 + 0xE0]
00000862 486C 0100 pea.l [A4 + 0x100]
00000866 A8A5 syscall FillRect
00000868 486C 00E8 pea.l [A4 + 0xE8]
0000086C 486C 0100 pea.l [A4 + 0x100]
00000870 A8A5 syscall FillRect
00000872 486C 00F0 pea.l [A4 + 0xF0]
00000876 486C 0100 pea.l [A4 + 0x100]
0000087A A8A5 syscall FillRect
0000087C 486C 00F8 pea.l [A4 + 0xF8]
00000880 A8A1 syscall FrameRect
00000882 4A6C 00D6 tst.w [A4 + 0xD6]
00000886 6700 0014 beq +0x16 /* 0000089C */
0000088A 426C 00D6 clr.w [A4 + 0xD6]
0000088E 4EBA 034A jsr [PC + 0x34A /* 00000BDA */]
00000892 7001 moveq.l D0, 0x01
00000894 3940 00D6 move.w [A4 + 0xD6], D0
00000898 6000 0088 bra +0x8A /* 00000922 */
label0000089C:
0000089C 4EBA FF2A jsr [PC - 0xD6 /* 000007C8 */]
000008A0 426E FFFE clr.w [A6 - 0x2]
000008A4 6000 005E bra +0x60 /* 00000904 */
label000008A8:
000008A8 302E FFFE move.w D0, [A6 - 0x2]
000008AC 48C0 ext.l D0
000008AE D080 add.l D0, D0
000008B0 41EC 0108 lea.l A0, [A4 + 0x108]
000008B4 D1C0 add.l A0, D0
000008B6 302C 00D0 move.w D0, [A4 + 0xD0]
000008BA C050 and.w D0, [A0]
000008BC 4A40 tst.w D0
000008BE 6700 0014 beq +0x16 /* 000008D4 */
000008C2 102C 00D3 move.b D0, [A4 + 0xD3]
000008C6 4880 ext.w D0
000008C8 3F00 move.w -[A7], D0
000008CA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000008CE 4EBA FE8C jsr [PC - 0x174 /* 0000075C */]
000008D2 588F addq.l A7, 4
label000008D4:
000008D4 302E FFFE move.w D0, [A6 - 0x2]
000008D8 48C0 ext.l D0
000008DA D080 add.l D0, D0
000008DC 41EC 0108 lea.l A0, [A4 + 0x108]
000008E0 D1C0 add.l A0, D0
000008E2 302C 00CE move.w D0, [A4 + 0xCE]
000008E6 C050 and.w D0, [A0]
000008E8 4A40 tst.w D0
000008EA 6700 0014 beq +0x16 /* 00000900 */
000008EE 102C 00D2 move.b D0, [A4 + 0xD2]
000008F2 4880 ext.w D0
000008F4 3F00 move.w -[A7], D0
000008F6 3F2E FFFE move.w -[A7], [A6 - 0x2]
000008FA 4EBA FE60 jsr [PC - 0x1A0 /* 0000075C */]
000008FE 588F addq.l A7, 4
label00000900:
00000900 526E FFFE addq.w [A6 - 0x2], 1
label00000904:
00000904 0C6E 0008 FFFE cmpi.w [A6 - 0x2], 0x8
0000090A 6F00 FF9C ble -0x62 /* 000008A8 */
0000090E 3F2C 00D0 move.w -[A7], [A4 + 0xD0]
00000912 4EBA 0400 jsr [PC + 0x400 /* 00000D14 */]
00000916 548F addq.l A7, 2
00000918 3F2C 00CE move.w -[A7], [A4 + 0xCE]
0000091C 4EBA 03F6 jsr [PC + 0x3F6 /* 00000D14 */]
00000920 548F addq.l A7, 2
label00000922:
00000922 4E5E unlink A6
00000924 4E75 rts
00000926 4452 neg.w [A2]
00000928 4157 chk.w D0, [A7]
0000092A 424F clr.w A7
0000092C 4152 chk.w D0, [A2]
fn0000092E:
0000092E 4E56 FFFC link A6, -0x0004
00000932 70FF moveq.l D0, 0xFFFFFFFF
00000934 3D40 FFFE move.w [A6 - 0x2], D0
00000938 70FF moveq.l D0, 0xFFFFFFFF
0000093A 3D40 FFFC move.w [A6 - 0x4], D0
0000093E 486E 0008 pea.l [A6 + 0x8]
00000942 A871 syscall GlobalToLocal
00000944 0C6E 0009 000A cmpi.w [A6 + 0xA], 0x9 /* '\t' */
0000094A 6D00 0014 blt +0x16 /* 00000960 */
0000094E 0C6E 0020 000A cmpi.w [A6 + 0xA], 0x20 /* ' ' */
00000954 6E00 000A bgt +0xC /* 00000960 */
00000958 426E FFFC clr.w [A6 - 0x4]
0000095C 6000 003A bra +0x3C /* 00000998 */
label00000960:
00000960 0C6E 0026 000A cmpi.w [A6 + 0xA], 0x26 /* '&' */
00000966 6F00 0016 ble +0x18 /* 0000097E */
0000096A 0C6E 003E 000A cmpi.w [A6 + 0xA], 0x3E /* '>' */
00000970 6E00 000C bgt +0xE /* 0000097E */
00000974 7001 moveq.l D0, 0x01
00000976 3D40 FFFC move.w [A6 - 0x4], D0
0000097A 6000 001C bra +0x1E /* 00000998 */
label0000097E:
0000097E 0C6E 0044 000A cmpi.w [A6 + 0xA], 0x44 /* 'D' */
00000984 6F00 0012 ble +0x14 /* 00000998 */
00000988 0C6E 005B 000A cmpi.w [A6 + 0xA], 0x5B /* '[' */
0000098E 6E00 0008 bgt +0xA /* 00000998 */
00000992 7002 moveq.l D0, 0x02
00000994 3D40 FFFC move.w [A6 - 0x4], D0
label00000998:
00000998 0C6E 0009 0008 cmpi.w [A6 + 0x8], 0x9 /* '\t' */
0000099E 6D00 0014 blt +0x16 /* 000009B4 */
000009A2 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
000009A8 6E00 000A bgt +0xC /* 000009B4 */
000009AC 426E FFFE clr.w [A6 - 0x2]
000009B0 6000 003A bra +0x3C /* 000009EC */
label000009B4:
000009B4 0C6E 0026 0008 cmpi.w [A6 + 0x8], 0x26 /* '&' */
000009BA 6F00 0016 ble +0x18 /* 000009D2 */
000009BE 0C6E 003E 0008 cmpi.w [A6 + 0x8], 0x3E /* '>' */
000009C4 6E00 000C bgt +0xE /* 000009D2 */
000009C8 7001 moveq.l D0, 0x01
000009CA 3D40 FFFE move.w [A6 - 0x2], D0
000009CE 6000 001C bra +0x1E /* 000009EC */
label000009D2:
000009D2 0C6E 0044 0008 cmpi.w [A6 + 0x8], 0x44 /* 'D' */
000009D8 6F00 0012 ble +0x14 /* 000009EC */
000009DC 0C6E 005B 0008 cmpi.w [A6 + 0x8], 0x5B /* '[' */
000009E2 6E00 0008 bgt +0xA /* 000009EC */
000009E6 7002 moveq.l D0, 0x02
000009E8 3D40 FFFE move.w [A6 - 0x2], D0
label000009EC:
000009EC 0C6E FFFF FFFC cmpi.w [A6 - 0x4], 0xFFFF
000009F2 6700 000C beq +0xE /* 00000A00 */
000009F6 0C6E FFFF FFFE cmpi.w [A6 - 0x2], 0xFFFF
000009FC 6600 0008 bne +0xA /* 00000A06 */
label00000A00:
00000A00 70FF moveq.l D0, 0xFFFFFFFF
00000A02 6000 000E bra +0x10 /* 00000A12 */
label00000A06:
00000A06 302E FFFE move.w D0, [A6 - 0x2]
00000A0A C1FC 0003 muls.w D0, 0x3
00000A0E D06E FFFC add.w D0, [A6 - 0x4]
label00000A12:
00000A12 4E5E unlink A6
00000A14 4E75 rts
00000A16 5351 subq.w [A1], 1
00000A18 5541 subq.w D1, 2
00000A1A 5245 addq.w D5, 1
00000A1C 4849 pea.l A1
fn00000A1E:
00000A1E 4E56 FFFE link A6, -0x0002
00000A22 426E FFFE clr.w [A6 - 0x2]
00000A26 4A6E 0008 tst.w [A6 + 0x8]
00000A2A 6D00 0030 blt +0x32 /* 00000A5C */
00000A2E 0C6E 0008 0008 cmpi.w [A6 + 0x8], 0x8
00000A34 6E00 0026 bgt +0x28 /* 00000A5C */
00000A38 302E 0008 move.w D0, [A6 + 0x8]
00000A3C 48C0 ext.l D0
00000A3E D080 add.l D0, D0
00000A40 41EC 0108 lea.l A0, [A4 + 0x108]
00000A44 D1C0 add.l A0, D0
00000A46 302C 00CE move.w D0, [A4 + 0xCE]
00000A4A 806C 00D0 or.w D0, [A4 + 0xD0]
00000A4E C050 and.w D0, [A0]
00000A50 4A40 tst.w D0
00000A52 6600 0008 bne +0xA /* 00000A5C */
00000A56 7001 moveq.l D0, 0x01
00000A58 3D40 FFFE move.w [A6 - 0x2], D0
label00000A5C:
00000A5C 302E FFFE move.w D0, [A6 - 0x2]
00000A60 4E5E unlink A6
00000A62 4E75 rts
00000A64 4C45 4741 movem.l D0,D6,A0,A1,A2,A6, D5
00000A68 4C53 5155 movem.l D0,D2,D4,D6,A0,A4,A6, [A3]
fn00000A6C:
00000A6C 4E56 0000 link A6, 0
00000A70 302E 0008 move.w D0, [A6 + 0x8]
00000A74 48C0 ext.l D0
00000A76 D080 add.l D0, D0
00000A78 41EC 0108 lea.l A0, [A4 + 0x108]
00000A7C D1C0 add.l A0, D0
00000A7E 3010 move.w D0, [A0]
00000A80 816C 00D0 or.w [A4 + 0xD0], D0
00000A84 102C 00D3 move.b D0, [A4 + 0xD3]
00000A88 4880 ext.w D0
00000A8A 3F00 move.w -[A7], D0
00000A8C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000A90 4EBA FCCA jsr [PC - 0x336 /* 0000075C */]
00000A94 588F addq.l A7, 4
00000A96 4E5E unlink A6
00000A98 4E75 rts
00000A9A 504C addq.w A4, 8
00000A9C 4143 chk.w D0, D3
00000A9E 4550 chk.w D2, [A0]
00000AA0 4945 chk.w D4, D5
fn00000AA2:
00000AA2 4E56 0000 link A6, 0
00000AA6 3F2C 00D0 move.w -[A7], [A4 + 0xD0]
00000AAA 4EBA 0194 jsr [PC + 0x194 /* 00000C40 */]
00000AAE 548F addq.l A7, 2
00000AB0 0C40 FFFF cmpi.w D0, 0xFFFF
00000AB4 56C0 sne D0
00000AB6 4400 neg.b D0
00000AB8 4880 ext.w D0
00000ABA 4E5E unlink A6
00000ABC 4E75 rts
00000ABE 5553 subq.w [A3], 2
00000AC0 4552 chk.w D2, [A2]
00000AC2 4841 swap.w D1
00000AC4 5357 subq.w [A7], 1
fn00000AC6:
00000AC6 4E56 0000 link A6, 0
00000ACA 3F2C 00CE move.w -[A7], [A4 + 0xCE]
00000ACE 4EBA 0170 jsr [PC + 0x170 /* 00000C40 */]
00000AD2 548F addq.l A7, 2
00000AD4 0C40 FFFF cmpi.w D0, 0xFFFF
00000AD8 56C0 sne D0
00000ADA 4400 neg.b D0
00000ADC 4880 ext.w D0
00000ADE 4E5E unlink A6
00000AE0 4E75 rts
00000AE2 4D41 chk.w D6, D1
00000AE4 4348 chk.w D1, A0
00000AE6 4153 chk.w D0, [A3]
00000AE8 574F subq.w A7, 3
fn00000AEA:
00000AEA 4E56 0000 link A6, 0
00000AEE 302C 00D0 move.w D0, [A4 + 0xD0]
00000AF2 806C 00CE or.w D0, [A4 + 0xCE]
00000AF6 0C40 01FF cmpi.w D0, 0x1FF
00000AFA 57C0 seq D0
00000AFC 4400 neg.b D0
00000AFE 4880 ext.w D0
00000B00 4E5E unlink A6
00000B02 4E75 rts
00000B04 4E4F trap 15
00000B06 4D4F chk.w D6, A7
00000B08 5245 addq.w D5, 1
00000B0A 4D4F chk.w D6, A7
fn00000B0C:
00000B0C 4E56 FFF8 link A6, -0x0008
00000B10 4A6C 00D6 tst.w [A4 + 0xD6]
00000B14 6700 000E beq +0x10 /* 00000B24 */
00000B18 426C 00D6 clr.w [A4 + 0xD6]
00000B1C 4EBA FD30 jsr [PC - 0x2D0 /* 0000084E */]
00000B20 6000 00AC bra +0xAE /* 00000BCE */
label00000B24:
00000B24 4A6C 00D4 tst.w [A4 + 0xD4]
00000B28 6700 000A beq +0xC /* 00000B34 */
00000B2C 4EBA FBD2 jsr [PC - 0x42E /* 00000700 */]
00000B30 6000 009C bra +0x9E /* 00000BCE */
label00000B34:
00000B34 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B38 4EBA FDF4 jsr [PC - 0x20C /* 0000092E */]
00000B3C 588F addq.l A7, 4
00000B3E 3D40 FFFE move.w [A6 - 0x2], D0
00000B42 3F00 move.w -[A7], D0
00000B44 4EBA FED8 jsr [PC - 0x128 /* 00000A1E */]
00000B48 548F addq.l A7, 2
00000B4A 4A40 tst.w D0
00000B4C 6700 0080 beq +0x82 /* 00000BCE */
00000B50 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000B54 4EBA FF16 jsr [PC - 0xEA /* 00000A6C */]
00000B58 548F addq.l A7, 2
00000B5A 4EBA FF46 jsr [PC - 0xBA /* 00000AA2 */]
00000B5E 4A40 tst.w D0
00000B60 6700 0044 beq +0x46 /* 00000BA6 */
00000B64 3F2C 00D0 move.w -[A7], [A4 + 0xD0]
00000B68 4EBA 01AA jsr [PC + 0x1AA /* 00000D14 */]
00000B6C 548F addq.l A7, 2
00000B6E 426E FFF8 clr.w [A6 - 0x8]
00000B72 6000 0018 bra +0x1A /* 00000B8C */
label00000B76:
00000B76 486C 00F8 pea.l [A4 + 0xF8]
00000B7A A8A4 syscall InvertRect
00000B7C 4878 0002 push.l 0x2
00000B80 486E FFFA pea.l [A6 - 0x6]
00000B84 4EBA FB34 jsr [PC - 0x4CC /* 000006BA */]
00000B88 526E FFF8 addq.w [A6 - 0x8], 1
label00000B8C:
00000B8C 0C6E 000A FFF8 cmpi.w [A6 - 0x8], 0xA /* '\n' */
00000B92 6D00 FFE2 blt -0x1C /* 00000B76 */
00000B96 3F3C 001E move.w -[A7], 0x1E
00000B9A A9C8 syscall SysBeep
00000B9C 7001 moveq.l D0, 0x01
00000B9E 3940 00D4 move.w [A4 + 0xD4], D0
00000BA2 6000 002A bra +0x2C /* 00000BCE */
label00000BA6:
00000BA6 4EBA FF42 jsr [PC - 0xBE /* 00000AEA */]
00000BAA 4A40 tst.w D0
00000BAC 6700 000C beq +0xE /* 00000BBA */
00000BB0 7001 moveq.l D0, 0x01
00000BB2 3940 00D4 move.w [A4 + 0xD4], D0
00000BB6 6000 0016 bra +0x18 /* 00000BCE */
label00000BBA:
00000BBA 4EBA 03AA jsr [PC + 0x3AA /* 00000F66 */]
00000BBE 4EBA FF2A jsr [PC - 0xD6 /* 00000AEA */]
00000BC2 4A40 tst.w D0
00000BC4 6700 0008 beq +0xA /* 00000BCE */
00000BC8 7001 moveq.l D0, 0x01
00000BCA 3940 00D4 move.w [A4 + 0xD4], D0
label00000BCE:
00000BCE 4E5E unlink A6
00000BD0 4E75 rts
00000BD2 444F neg.w A7
00000BD4 4D4F chk.w D6, A7
00000BD6 5553 subq.w [A3], 2
00000BD8 4548 chk.w D2, A0
fn00000BDA:
00000BDA 4E56 0000 link A6, 0
00000BDE 4A6C 00D6 tst.w [A4 + 0xD6]
00000BE2 6600 0050 bne +0x52 /* 00000C34 */
00000BE6 7001 moveq.l D0, 0x01
00000BE8 3940 00D6 move.w [A4 + 0xD6], D0
00000BEC 3F3C 0003 move.w -[A7], 0x3
00000BF0 A887 syscall TextFont
00000BF2 4267 clr.w -[A7]
00000BF4 A888 syscall TextFace
00000BF6 4267 clr.w -[A7]
00000BF8 A889 syscall TextMode
00000BFA 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00000BFE A88A syscall TextSize
00000C00 486C 00F8 pea.l [A4 + 0xF8]
00000C04 3F3C 0001 move.w -[A7], 0x1
00000C08 3F3C 0001 move.w -[A7], 0x1
00000C0C A8A9 syscall InsetRect
00000C0E 102C 0196 move.b D0, [A4 + 0x196]
00000C12 4880 ext.w D0
00000C14 48C0 ext.l D0
00000C16 486C 0197 pea.l [A4 + 0x197]
00000C1A 2F00 move.l -[A7], D0
00000C1C 486C 00F8 pea.l [A4 + 0xF8]
00000C20 3F3C 0001 move.w -[A7], 0x1
00000C24 A9CE syscall TETextBox/TextBox
00000C26 486C 00F8 pea.l [A4 + 0xF8]
00000C2A 3F3C FFFF move.w -[A7], 0xFFFF
00000C2E 3F3C FFFF move.w -[A7], 0xFFFF
00000C32 A8A9 syscall InsetRect
label00000C34:
00000C34 4E5E unlink A6
00000C36 4E75 rts
00000C38 5348 subq.w A0, 1
00000C3A 4F57 chk.w D7, [A7]
00000C3C 4352 chk.w D1, [A2]
00000C3E 4544 chk.w D2, D4
fn00000C40:
00000C40 4E56 FFFE link A6, -0x0002
00000C44 426E FFFE clr.w [A6 - 0x2]
00000C48 6000 0036 bra +0x38 /* 00000C80 */
label00000C4C:
00000C4C 302E FFFE move.w D0, [A6 - 0x2]
00000C50 48C0 ext.l D0
00000C52 D080 add.l D0, D0
00000C54 41EC 013E lea.l A0, [A4 + 0x13E]
00000C58 D1C0 add.l A0, D0
00000C5A 3010 move.w D0, [A0]
00000C5C C06E 0008 and.w D0, [A6 + 0x8]
00000C60 322E FFFE move.w D1, [A6 - 0x2]
00000C64 48C1 ext.l D1
00000C66 D281 add.l D1, D1
00000C68 41EC 013E lea.l A0, [A4 + 0x13E]
00000C6C D1C1 add.l A0, D1
00000C6E B050 cmp.w D0, [A0]
00000C70 6600 000A bne +0xC /* 00000C7C */
00000C74 302E FFFE move.w D0, [A6 - 0x2]
00000C78 6000 0012 bra +0x14 /* 00000C8C */
label00000C7C:
00000C7C 526E FFFE addq.w [A6 - 0x2], 1
label00000C80:
00000C80 0C6E 0007 FFFE cmpi.w [A6 - 0x2], 0x7
00000C86 6F00 FFC4 ble -0x3A /* 00000C4C */
00000C8A 70FF moveq.l D0, 0xFFFFFFFF
label00000C8C:
00000C8C 4E5E unlink A6
00000C8E 4E75 rts
00000C90 5749 subq.w A1, 3
00000C92 4E49 trap 9
00000C94 5320 subq.b -[A0], 1
00000C96 2020 move.l D0, -[A0]
fn00000C98:
00000C98 4E56 FFEE link A6, -0x0012
00000C9C 486E FFEE pea.l [A6 - 0x12]
00000CA0 A898 syscall GetPenState
00000CA2 3F3C 0003 move.w -[A7], 0x3
00000CA6 3F3C 0003 move.w -[A7], 0x3
00000CAA A89B syscall PenSize
00000CAC 3F3C 0008 move.w -[A7], 0x8
00000CB0 A89C syscall PenMode
00000CB2 486C 018E pea.l [A4 + 0x18E]
00000CB6 A89D syscall PenPat
00000CB8 302E 0008 move.w D0, [A6 + 0x8]
00000CBC 48C0 ext.l D0
00000CBE E780 asl D0, 3
00000CC0 41EC 014E lea.l A0, [A4 + 0x14E]
00000CC4 D1C0 add.l A0, D0
00000CC6 302E 0008 move.w D0, [A6 + 0x8]
00000CCA 48C0 ext.l D0
00000CCC E780 asl D0, 3
00000CCE 43EC 014E lea.l A1, [A4 + 0x14E]
00000CD2 D3C0 add.l A1, D0
00000CD4 3F10 move.w -[A7], [A0]
00000CD6 3F29 0002 move.w -[A7], [A1 + 0x2]
00000CDA A893 syscall MoveTo
00000CDC 302E 0008 move.w D0, [A6 + 0x8]
00000CE0 48C0 ext.l D0
00000CE2 E780 asl D0, 3
00000CE4 41EC 014E lea.l A0, [A4 + 0x14E]
00000CE8 D1C0 add.l A0, D0
00000CEA 302E 0008 move.w D0, [A6 + 0x8]
00000CEE 48C0 ext.l D0
00000CF0 E780 asl D0, 3
00000CF2 43EC 014E lea.l A1, [A4 + 0x14E]
00000CF6 D3C0 add.l A1, D0
00000CF8 3F28 0004 move.w -[A7], [A0 + 0x4]
00000CFC 3F29 0006 move.w -[A7], [A1 + 0x6]
00000D00 A891 syscall LineTo
00000D02 486E FFEE pea.l [A6 - 0x12]
00000D06 A899 syscall SetPenState
00000D08 4E5E unlink A6
00000D0A 4E75 rts
00000D0C 4452 neg.w [A2]
00000D0E 4157 chk.w D0, [A7]
00000D10 3157 494E move.w [A0 + 0x494E], [A7]
fn00000D14:
00000D14 4E56 FFFE link A6, -0x0002
00000D18 426E FFFE clr.w [A6 - 0x2]
00000D1C 6000 0038 bra +0x3A /* 00000D56 */
label00000D20:
00000D20 302E FFFE move.w D0, [A6 - 0x2]
00000D24 48C0 ext.l D0
00000D26 D080 add.l D0, D0
00000D28 41EC 013E lea.l A0, [A4 + 0x13E]
00000D2C D1C0 add.l A0, D0
00000D2E 3010 move.w D0, [A0]
00000D30 C06E 0008 and.w D0, [A6 + 0x8]
00000D34 322E FFFE move.w D1, [A6 - 0x2]
00000D38 48C1 ext.l D1
00000D3A D281 add.l D1, D1
00000D3C 41EC 013E lea.l A0, [A4 + 0x13E]
00000D40 D1C1 add.l A0, D1
00000D42 B050 cmp.w D0, [A0]
00000D44 6600 000C bne +0xE /* 00000D52 */
00000D48 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000D4C 4EBA FF4A jsr [PC - 0xB6 /* 00000C98 */]
00000D50 548F addq.l A7, 2
label00000D52:
00000D52 526E FFFE addq.w [A6 - 0x2], 1
label00000D56:
00000D56 0C6E 0007 FFFE cmpi.w [A6 - 0x2], 0x7
00000D5C 6F00 FFC2 ble -0x3C /* 00000D20 */
00000D60 4E5E unlink A6
00000D62 4E75 rts
00000D64 4452 neg.w [A2]
00000D66 4157 chk.w D0, [A7]
00000D68 5749 subq.w A1, 3
00000D6A 4E53 4E56 link A3, -0xFFFFB1AA
// begin alternate branch 00000D6C-00000D70
fn00000D6C:
00000D6C 4E56 FFFC link A6, -0x0004
// end alternate branch 00000D6C-00000D70
fn00000D6C: // (misaligned)
00000D6E FFFC .invalid <<F/7/7>>
00000D70 426E FFFE clr.w [A6 - 0x2]
00000D74 426E FFFC clr.w [A6 - 0x4]
00000D78 6000 004C bra +0x4E /* 00000DC6 */
label00000D7C:
00000D7C 302E FFFC move.w D0, [A6 - 0x4]
00000D80 48C0 ext.l D0
00000D82 D080 add.l D0, D0
00000D84 41EC 0108 lea.l A0, [A4 + 0x108]
00000D88 D1C0 add.l A0, D0
00000D8A 302E 0008 move.w D0, [A6 + 0x8]
00000D8E 806E 000A or.w D0, [A6 + 0xA]
00000D92 C050 and.w D0, [A0]
00000D94 4A40 tst.w D0
00000D96 6600 002A bne +0x2C /* 00000DC2 */
00000D9A 302E FFFC move.w D0, [A6 - 0x4]
00000D9E 48C0 ext.l D0
00000DA0 D080 add.l D0, D0
00000DA2 41EC 0108 lea.l A0, [A4 + 0x108]
00000DA6 D1C0 add.l A0, D0
00000DA8 302E 0008 move.w D0, [A6 + 0x8]
00000DAC 8050 or.w D0, [A0]
00000DAE 3F00 move.w -[A7], D0
00000DB0 4EBA FE8E jsr [PC - 0x172 /* 00000C40 */]
00000DB4 548F addq.l A7, 2
00000DB6 0C40 FFFF cmpi.w D0, 0xFFFF
00000DBA 6700 0006 beq +0x8 /* 00000DC2 */
00000DBE 526E FFFE addq.w [A6 - 0x2], 1
label00000DC2:
00000DC2 526E FFFC addq.w [A6 - 0x4], 1
label00000DC6:
00000DC6 0C6E 0009 FFFC cmpi.w [A6 - 0x4], 0x9 /* '\t' */
00000DCC 6D00 FFAE blt -0x50 /* 00000D7C */
00000DD0 0C6E 0002 FFFE cmpi.w [A6 - 0x2], 0x2
00000DD6 5CC0 sge D0
00000DD8 4400 neg.b D0
00000DDA 4880 ext.w D0
00000DDC 4E5E unlink A6
00000DDE 4E75 rts
00000DE0 464F not.w A7
00000DE2 5243 addq.w D3, 1
00000DE4 4557 chk.w D2, [A7]
00000DE6 494E chk.w D4, A6
fn00000DE8:
00000DE8 4E56 FFFA link A6, -0x0006
00000DEC 426E FFFE clr.w [A6 - 0x2]
00000DF0 6000 0042 bra +0x44 /* 00000E34 */
label00000DF4:
00000DF4 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000DF8 4EBA FC24 jsr [PC - 0x3DC /* 00000A1E */]
00000DFC 548F addq.l A7, 2
00000DFE 4A40 tst.w D0
00000E00 6700 002E beq +0x30 /* 00000E30 */
00000E04 302E FFFE move.w D0, [A6 - 0x2]
00000E08 48C0 ext.l D0
00000E0A D080 add.l D0, D0
00000E0C 41EC 0108 lea.l A0, [A4 + 0x108]
00000E10 D1C0 add.l A0, D0
00000E12 302C 00CE move.w D0, [A4 + 0xCE]
00000E16 8050 or.w D0, [A0]
00000E18 3F00 move.w -[A7], D0
00000E1A 4EBA FE24 jsr [PC - 0x1DC /* 00000C40 */]
00000E1E 548F addq.l A7, 2
00000E20 0C40 FFFF cmpi.w D0, 0xFFFF
00000E24 6700 000A beq +0xC /* 00000E30 */
00000E28 302E FFFE move.w D0, [A6 - 0x2]
00000E2C 6000 012C bra +0x12E /* 00000F5A */
label00000E30:
00000E30 526E FFFE addq.w [A6 - 0x2], 1
label00000E34:
00000E34 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
00000E3A 6D00 FFB8 blt -0x46 /* 00000DF4 */
00000E3E 426E FFFE clr.w [A6 - 0x2]
00000E42 6000 0042 bra +0x44 /* 00000E86 */
label00000E46:
00000E46 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000E4A 4EBA FBD2 jsr [PC - 0x42E /* 00000A1E */]
00000E4E 548F addq.l A7, 2
00000E50 4A40 tst.w D0
00000E52 6700 002E beq +0x30 /* 00000E82 */
00000E56 302E FFFE move.w D0, [A6 - 0x2]
00000E5A 48C0 ext.l D0
00000E5C D080 add.l D0, D0
00000E5E 41EC 0108 lea.l A0, [A4 + 0x108]
00000E62 D1C0 add.l A0, D0
00000E64 302C 00D0 move.w D0, [A4 + 0xD0]
00000E68 8050 or.w D0, [A0]
00000E6A 3F00 move.w -[A7], D0
00000E6C 4EBA FDD2 jsr [PC - 0x22E /* 00000C40 */]
00000E70 548F addq.l A7, 2
00000E72 0C40 FFFF cmpi.w D0, 0xFFFF
00000E76 6700 000A beq +0xC /* 00000E82 */
00000E7A 302E FFFE move.w D0, [A6 - 0x2]
00000E7E 6000 00DA bra +0xDC /* 00000F5A */
label00000E82:
00000E82 526E FFFE addq.w [A6 - 0x2], 1
label00000E86:
00000E86 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
00000E8C 6D00 FFB8 blt -0x46 /* 00000E46 */
00000E90 426E FFFE clr.w [A6 - 0x2]
00000E94 6000 0044 bra +0x46 /* 00000EDA */
label00000E98:
00000E98 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000E9C 4EBA FB80 jsr [PC - 0x480 /* 00000A1E */]
00000EA0 548F addq.l A7, 2
00000EA2 4A40 tst.w D0
00000EA4 6700 0030 beq +0x32 /* 00000ED6 */
00000EA8 302E FFFE move.w D0, [A6 - 0x2]
00000EAC 48C0 ext.l D0
00000EAE D080 add.l D0, D0
00000EB0 41EC 0108 lea.l A0, [A4 + 0x108]
00000EB4 D1C0 add.l A0, D0
00000EB6 302C 00CE move.w D0, [A4 + 0xCE]
00000EBA 8050 or.w D0, [A0]
00000EBC 3F2C 00D0 move.w -[A7], [A4 + 0xD0]
00000EC0 3F00 move.w -[A7], D0
00000EC2 4EBA FEA8 jsr [PC - 0x158 /* 00000D6C */]
00000EC6 588F addq.l A7, 4
00000EC8 4A40 tst.w D0
00000ECA 6700 000A beq +0xC /* 00000ED6 */
00000ECE 302E FFFE move.w D0, [A6 - 0x2]
00000ED2 6000 0086 bra +0x88 /* 00000F5A */
label00000ED6:
00000ED6 526E FFFE addq.w [A6 - 0x2], 1
label00000EDA:
00000EDA 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
00000EE0 6D00 FFB6 blt -0x48 /* 00000E98 */
00000EE4 426E FFFE clr.w [A6 - 0x2]
00000EE8 6000 0044 bra +0x46 /* 00000F2E */
label00000EEC:
00000EEC 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000EF0 4EBA FB2C jsr [PC - 0x4D4 /* 00000A1E */]
00000EF4 548F addq.l A7, 2
00000EF6 4A40 tst.w D0
00000EF8 6700 0030 beq +0x32 /* 00000F2A */
00000EFC 302E FFFE move.w D0, [A6 - 0x2]
00000F00 48C0 ext.l D0
00000F02 D080 add.l D0, D0
00000F04 41EC 0108 lea.l A0, [A4 + 0x108]
00000F08 D1C0 add.l A0, D0
00000F0A 302C 00D0 move.w D0, [A4 + 0xD0]
00000F0E 8050 or.w D0, [A0]
00000F10 3F2C 00CE move.w -[A7], [A4 + 0xCE]
00000F14 3F00 move.w -[A7], D0
00000F16 4EBA FE54 jsr [PC - 0x1AC /* 00000D6C */]
00000F1A 588F addq.l A7, 4
00000F1C 4A40 tst.w D0
00000F1E 6700 000A beq +0xC /* 00000F2A */
00000F22 302E FFFE move.w D0, [A6 - 0x2]
00000F26 6000 0032 bra +0x34 /* 00000F5A */
label00000F2A:
00000F2A 526E FFFE addq.w [A6 - 0x2], 1
label00000F2E:
00000F2E 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
00000F34 6D00 FFB6 blt -0x48 /* 00000EEC */
label00000F38:
00000F38 558F subq.l A7, 2
00000F3A A861 syscall Random
00000F3C 301F move.w D0, [A7]+
00000F3E 0240 000F andi.w D0, 0xF
00000F42 3D40 FFFE move.w [A6 - 0x2], D0
00000F46 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000F4A 4EBA FAD2 jsr [PC - 0x52E /* 00000A1E */]
00000F4E 548F addq.l A7, 2
00000F50 4A40 tst.w D0
00000F52 6700 FFE4 beq -0x1A /* 00000F38 */
00000F56 302E FFFE move.w D0, [A6 - 0x2]
label00000F5A:
00000F5A 4E5E unlink A6
00000F5C 4E75 rts
00000F5E 5049 addq.w A1, 8
00000F60 434B chk.w D1, A3
00000F62 4D41 chk.w D6, D1
00000F64 4353 chk.w D1, [A3]
fn00000F66:
00000F66 4E56 FFF8 link A6, -0x0008
00000F6A 598F subq.l A7, 4
00000F6C 3F3C 0004 move.w -[A7], 0x4
00000F70 A9B9 syscall GetCursor
00000F72 201F move.l D0, [A7]+
00000F74 2040 movea.l A0, D0
00000F76 2F10 move.l -[A7], [A0]
00000F78 A851 syscall SetCursor
00000F7A 4878 000A push.l 0xA /* '\n' */
00000F7E 486E FFFA pea.l [A6 - 0x6]
00000F82 4EBA F736 jsr [PC - 0x8CA /* 000006BA */]
00000F86 4EBA FE60 jsr [PC - 0x1A0 /* 00000DE8 */]
00000F8A 3D40 FFFE move.w [A6 - 0x2], D0
00000F8E A850 syscall InitCursor
00000F90 302E FFFE move.w D0, [A6 - 0x2]
00000F94 48C0 ext.l D0
00000F96 D080 add.l D0, D0
00000F98 41EC 0108 lea.l A0, [A4 + 0x108]
00000F9C D1C0 add.l A0, D0
00000F9E 3010 move.w D0, [A0]
00000FA0 816C 00CE or.w [A4 + 0xCE], D0
00000FA4 426E FFF8 clr.w [A6 - 0x8]
00000FA8 6000 0024 bra +0x26 /* 00000FCE */
label00000FAC:
00000FAC 102C 00D2 move.b D0, [A4 + 0xD2]
00000FB0 4880 ext.w D0
00000FB2 3F00 move.w -[A7], D0
00000FB4 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000FB8 4EBA F7A2 jsr [PC - 0x85E /* 0000075C */]
00000FBC 588F addq.l A7, 4
00000FBE 4878 0006 push.l 0x6
00000FC2 486E FFFA pea.l [A6 - 0x6]
00000FC6 4EBA F6F2 jsr [PC - 0x90E /* 000006BA */]
00000FCA 526E FFF8 addq.w [A6 - 0x8], 1
label00000FCE:
00000FCE 0C6E 0005 FFF8 cmpi.w [A6 - 0x8], 0x5
00000FD4 6D00 FFD6 blt -0x28 /* 00000FAC */
00000FD8 4EBA FAEC jsr [PC - 0x514 /* 00000AC6 */]
00000FDC 4A40 tst.w D0
00000FDE 6700 0016 beq +0x18 /* 00000FF6 */
00000FE2 3F2C 00CE move.w -[A7], [A4 + 0xCE]
00000FE6 4EBA FD2C jsr [PC - 0x2D4 /* 00000D14 */]
00000FEA 548F addq.l A7, 2
00000FEC 7001 moveq.l D0, 0x01
00000FEE 3940 00D4 move.w [A4 + 0xD4], D0
00000FF2 6000 0012 bra +0x14 /* 00001006 */
label00000FF6:
00000FF6 4EBA FAF2 jsr [PC - 0x50E /* 00000AEA */]
00000FFA 4A40 tst.w D0
00000FFC 6700 0008 beq +0xA /* 00001006 */
00001000 7001 moveq.l D0, 0x01
00001002 3940 00D4 move.w [A4 + 0xD4], D0
label00001006:
00001006 4E5E unlink A6
00001008 4E75 rts
0000100A 4D41 chk.w D6, D1
0000100C 4353 chk.w D1, [A3]
0000100E 4D4F chk.w D6, A7
00001010 5645 addq.w D5, 3